﻿<%@ Page Language="C#" MasterPageFile="~/shrh.Master" AutoEventWireup="true" CodeBehind="orderconfirmation.aspx.cs"
    Inherits="WebApp.Shopping.orderconfirmation" Title="订单信息确认" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="shopping">
        <div class="shopping_1">
            <ul class="shopping2_1">
                <li class="spcolor">我的购物车 </li>
                <li class="spcolor">填写核对订单</li>
                <li>订单提交成功</li>
            </ul>
        </div>
        <div class="sp2_shouhuo">
            <div class="sp2_shouhuo1">
                收货人信息：
            </div>
            <div class="sp2_shouhuo2">
                <p class="sp2_shuop">
                    <div class="sh_lista">
                        收件人姓名：
                    </div>
                    <div class="sh_listb">
                        <label>
                            <asp:TextBox ID="txtReceiverName" runat="server" CssClass="input"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtReceiverName"
                                Display="Dynamic" ErrorMessage="姓名不能为空" ValidationGroup="next"></asp:RequiredFieldValidator>
                        </label>
                    </div>
                </p>
                <p class="sp2_shuop">
                    <div class="sh_lista">
                        地址：
                    </div>
                    <div class="sh_listb">
                        <label>
                            <asp:TextBox ID="txtAddress" runat="server" CssClass="input"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="txtAddress"
                                Display="Dynamic" ErrorMessage="地址不能为空" ValidationGroup="next"></asp:RequiredFieldValidator>
                        </label>
                    </div>
                    <p class="sp2_shuop">
                        <div class="sh_lista">
                            邮编：
                        </div>
                        <div class="sh_listb">
                            <label>
                                <asp:TextBox ID="txtPostCode" runat="server" CssClass="input"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="txtPostCode"
                                    Display="Dynamic" ErrorMessage="邮编不能为空" ValidationGroup="next"></asp:RequiredFieldValidator>
                            </label>
                        </div>
                    </p>
                    <p class="sp2_shuop">
                        <div class="sh_lista">
                            手机电话：
                        </div>
                        <div class="sh_listb">
                            <label>
                                <asp:TextBox ID="txtCellPhoneNo" runat="server" CssClass="input"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="txtCellPhoneNo"
                                    Display="Dynamic" ErrorMessage="手机号码不能为空" ValidationGroup="next"></asp:RequiredFieldValidator>
                            </label>
                        </div>
                    </p>
                    <p class="sp2_shuop">
                        <div class="sh_lista">
                            电子邮箱：
                        </div>
                        <div class="sh_listb">
                            <label>
                                <asp:TextBox ID="txtPhoneNo" runat="server" CssClass="input"></asp:TextBox>
                            </label>
                        </div>
                    </p>
                    <p class="sp2_shuop1">
                        <asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="~/image/tijiao.gif" OnClick="Button1_Click" />
                    </p>
                </p>
            </div>
        </div>
        <div class="sp2_shouhuo">
            <div class="sp2_shouhuo1">
                购物清单：
            </div>
            <div class="sp2_shouhuo2">
                <div class="sp2_qdbt">
                    <span class="sp2_bts1">商品名称</span> <span class="sp2_bts2">金额</span> <span class="sp2_bts3">
                        数量</span> <span class="sp2_bts4">单价</span>
                </div>
                <div class="sp2_qbnr">
                    <asp:ListView ID="lvProductnew" runat="server" OnItemDataBound="lvProductnew_ItemDataBound">
                        <LayoutTemplate>
                            <p>
                                <asp:PlaceHolder ID="itemPlaceHolder" runat="server"></asp:PlaceHolder>
                            </p>
                        </LayoutTemplate>
                        <ItemTemplate>
                            <span class="sp2_bts1">
                                <asp:Literal ID="lbName" runat="server" Text='<%# Eval("ProductName")%>'></asp:Literal>
                                <asp:HiddenField ID="HFPid" runat="server" Value='<%#Eval("ProductId")%>' />
                            </span>
                            <span class="sp2_bts2">
                                ￥<asp:Literal ID="SmallCountNew" runat="server"></asp:Literal>元
                            </span>
                            <span class="sp2_bts3">
                                
                                <asp:Label ID="lbCount" Text="1" runat="server"></asp:Label>
                                </span>
                             <span class="sp2_bts4">
                                    ￥<asp:Literal ID="UnitPrice" runat="server" Text='<%#Eval("ProductUnitPrice")%>'></asp:Literal>
                             </span>
                        </ItemTemplate>
                    </asp:ListView>
                    <asp:ListView ID="ListView_Dis" runat="server">
                        <LayoutTemplate>
                            <p>
                                <asp:PlaceHolder ID="itemPlaceHolder" runat="server"></asp:PlaceHolder>
                            </p>
                        </LayoutTemplate>
                        <ItemTemplate>
                            <span class="sp2_bts1">
                                <asp:Literal ID="lbName_dis" runat="server" Text='<%# Eval("ProductName")%>'></asp:Literal>
                                <asp:HiddenField ID="HFPid_dis" runat="server" Value='<%#Eval("ProductId")%>' />
                            </span>
                            <span class="sp2_bts2">
                                ￥<asp:Literal ID="SmallCountNew_dis"  Text='<%#Eval("ProductUnitPrice")%>' runat="server"></asp:Literal>元
                            </span>
                            <span class="sp2_bts3">
                                
                                <asp:Label ID="lbCount_dis" Text="1" runat="server"></asp:Label>
                                </span>
                             <span class="sp2_bts4">
                                    ￥<asp:Literal ID="UnitPrice_dis" runat="server" Text='<%#Eval("ProductUnitPrice")%>'></asp:Literal>
                             </span>
                        </ItemTemplate>
                    </asp:ListView>
                </div>
            </div>
        </div>
        <div class="sp2_shouhuo22">
            <div class="sp2_shouhuo1">
                支付方式：
            </div>
            <div class="sp2_shouhuo2">
                <p>
                    <%--<asp:Literal ID="Literal10" runat="server"></asp:Literal>--%>
                    <asp:RadioButtonList ID="rdbtnPayType" runat="server">
                        <asp:ListItem Text="支付宝" Value="0" Selected="True"></asp:ListItem>
                        <asp:ListItem Text="银行转账" Value="1"></asp:ListItem>
                    </asp:RadioButtonList>
                </p>
            </div>
        </div>
         <div class="sp2_shouhuo22">
            <div class="sp2_shouhuo1">
                快递公司：
            </div>
            <div class="sp2_shouhuo2">
                <p>
                    <asp:DropDownList ID="ddlExpress" runat="server">
                        <asp:ListItem Value="0">申通</asp:ListItem>
                        <asp:ListItem Value="1">圆通</asp:ListItem>
                        <asp:ListItem Value="2">韵达</asp:ListItem>
                        <asp:ListItem Value="3">顺风</asp:ListItem>
                        <asp:ListItem Value="4">天地华宇物流</asp:ListItem>
                   
                    </asp:DropDownList>
                </p>
            </div>
        </div>
        <div class="sp2_shouhuo22">
            <div class="sp2_shouhuo1">
                结算信息：
            </div>
            <div class="sp2_shouhuo2">
                <p>
                    商品总价:￥<asp:Literal ID="Literal14" runat="server"></asp:Literal></p>
                <p>
                    运费：￥<asp:Literal ID="litCarriage" Text="0.0" runat="server"></asp:Literal>
                </p>
                <p>
                    总金额：￥
                    <asp:Literal ID="lbTotalPrice" runat="server"></asp:Literal>
                </p>
            </div>
        </div>
        <div class="sp2_shouhuo22">
            <div class="sp2_shouhuo1">
                积分信息：
            </div>
            <div class="sp2_shouhuo2">
                <label>
                    <asp:Label ID="lbIntegral" runat="server" ></asp:Label>
                </label>
                <label>
                    
                </label>
            </div>
        </div>
        <p class="s3_p3">
            <asp:LinkButton BackColor="#2C69BA" ForeColor="#ffffff" BorderWidth="1px" BorderStyle="Solid"
                BorderColor="#2C69BA" ID="btnSubmit" runat="server" OnClick="btnSubmit_Click">提交订单</asp:LinkButton>
        </p>
    </div>
</asp:Content>
